package org.ww.test;



public class ClassLoader {
    public static void main(String[] args) {
        staticFunction();
    }
    static ClassLoader classLoader = new ClassLoader();

    static
    {
        System.out.println("2 书的静态代码块");
    }

    {
        System.out.println(" 3书的普通代码块");
    }

    ClassLoader()
    {
        System.out.println(" 4书的构造方法");
        System.out.println("4  price=" + price +",amount=" + amount);
    }

    public static void staticFunction(){
        System.out.println("1 书的静态方法");
    }

    int price = 110;
    static int amount = 112;
}
